package com.base.cn.platform.os.entity.agent.income;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.entity.agent.user.AgentUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 推广员总收益Entity
 *
 * @author LIZHIPENG
 * @since 2018/5/7
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AgentIncome extends BaseEntity {

    /**推广员ID*/
    private BigDecimal agentUserId;
    /**订单总量*/
    private Integer orderNum;
    /**订单总金额*/
    private Double orderSumPrice;
    /**商品总金额*/
    private Double shopSumPrice;
    /**收益总金额（包含：推广总收益，奖金总收益）*/
    private Double incomeSumPrice;
    /**推广总收益*/
    private Double spreadIncomePrice;
    /**奖金总收益*/
    private Double bountyIncomePrice;
    /**累计结算周期*/
    private Integer cycleNum;

    //================== 扩展数据 =================
    /**关联推广员*/
    private AgentUser agentUser;

    //================== 查询条件 =================
    /**id串*/
    private String ids;
    /**查询条数*/
    private Integer count;
    /**推广员ID串*/
    private String agentUserIds;
    /**推广员名称*/
    private String agentUserName;
}
